package com.totoro.dubbo.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 监控中心配置
 *
 * @see http://dubbo.apache.org/books/dubbo-user-book/references/xml/dubbo-monitor.html
 * Created by Niki on 2018/7/3 9:38
 */
@Configuration
@ConfigurationProperties(prefix = "dubbo.monitor")
@Getter
@Setter
public class MonitorConfigProperties {
    /**
     * 监控中心协议
     */
    private String protocol;
    /**
     * 监控中心url
     */
    private String address;
}
